package org.neuedu.mp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Long
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_user")
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "登录ID")
    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

    @ApiModelProperty(value = "登录账号")
    private String logName;

    @ApiModelProperty(value = "登录密码")
    private String logPwd;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "真实名称")
    private String relName;

    @ApiModelProperty(value = "0 启用,1 禁用")
    private Integer logStatus;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
